package com.yicong.ants.bean.account;

public class NewYearGoodsActivity {
    String coupon;
    String url;
    int is_get;

    public NewYearGoodsActivity() {
    }

    public String getCoupon() {
        return this.coupon;
    }

    public String getUrl() {
        return this.url;
    }

    public int getIs_get() {
        return this.is_get;
    }

    public void setCoupon(String coupon) {
        this.coupon = coupon;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setIs_get(int is_get) {
        this.is_get = is_get;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof NewYearGoodsActivity)) return false;
        final NewYearGoodsActivity other = (NewYearGoodsActivity) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$coupon = this.getCoupon();
        final Object other$coupon = other.getCoupon();
        if (this$coupon == null ? other$coupon != null : !this$coupon.equals(other$coupon))
            return false;
        final Object this$url = this.getUrl();
        final Object other$url = other.getUrl();
        if (this$url == null ? other$url != null : !this$url.equals(other$url)) return false;
        if (this.getIs_get() != other.getIs_get()) return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof NewYearGoodsActivity;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $coupon = this.getCoupon();
        result = result * PRIME + ($coupon == null ? 43 : $coupon.hashCode());
        final Object $url = this.getUrl();
        result = result * PRIME + ($url == null ? 43 : $url.hashCode());
        result = result * PRIME + this.getIs_get();
        return result;
    }

    public String toString() {
        return "NewYearGoodsActivity(coupon=" + this.getCoupon() + ", url=" + this.getUrl() + ", is_get=" + this.getIs_get() + ")";
    }
}
